<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/4/25
  Time: 20：50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
<head>
    <title>JSR349登录国际化</title>
</head>
<body>

<form:form modelAttribute="user" method="post" action="login2">
    <table>
        <tr>
            <td>loginname：</td>
            <td><form:input path="loginname"/></td>
            <td><form:errors path="loginname" cssStyle="color: red"/></td>
        </tr>
        <tr>
            <td>password：</td>
            <td><form:input path="password"/></td>
            <td><form:errors path="password" cssStyle="color: red"/></td>
        </tr>
        <tr>
            <td>username：</td>
            <td><form:input path="username"/></td>
            <td><form:errors path="username" cssStyle="color: red"/></td>
        </tr>
        <tr>
            <td>age：</td>
            <td><form:input path="age"/></td>
            <td><form:errors path="age" cssStyle="color: red"/></td>
        </tr>
        <tr>
            <td>email：</td>
            <td><form:input path="email"/></td>
            <td><form:errors path="email" cssStyle="color: red"/></td>
        </tr>
        <tr>
            <td>birthDate：</td>
            <td><form:input path="birthDate"/></td>
            <td><form:errors path="birthDate" cssStyle="color: red"/></td>
        </tr>
        <tr>
            <td>phone：</td>
            <td><form:input path="phone"/></td>
            <td><form:errors path="phone" cssStyle="color: red"/></td>
        </tr>
        <tr>
            <td><input type="submit" value="提交"></td>
        </tr>
    </table>
</form:form>

</body>
</html>
